const db = wx.cloud.database()

Page({
  data: {
  }, 
  onLoad: function (options) {
    console.log(options)
    this.setData({
      name0:options.name0,
      score0:options.score0,
      name1:options.name1,
      score1:options.score1,
      name2:options.name2,
      score2:options.score2,
    })
  },
  gobdbk: function (event) {
    var id = event.currentTarget.dataset.id
    wx.navigateTo({ 
      url: '../deinfo/deinfo?name=' + event.currentTarget.dataset.id
    })
  },
})